package com.tanbaby.ProductsManagement;

public class Product {
    private Long id;
    private String name;
    private Double price;
    private Integer sales;

    public Product() {}

    public Product(Long id, String name, Double price, Integer sales) {
        this.id = id;
        this.name = name;
        this.sales = sales;
        this.price = price;
    }

    public Long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public Double getPrice() {
        return price;
    }

    public Integer getSales() {
        return sales;
    }

    public void setId(Long id){
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }
}


